body {
    font-size: 12px;
    line-height: 1.5em;
    font-family: "Microsoft YaHei", "arial", "sans-serif" !important;
    color: #000;
}
    
a {
    font-size: 12px;
    line-height: 1.5em;
    font-family: "Microsoft YaHei", "arial", "sans-serif" !important;
    color: #000;
    text-decoration: none !important;
}

.header {
  padding: 0;
  left: 0;
  top: 0;
  z-index: 999;
  //头部
  .header-top {
    padding: 0;
    &>div {
      &:nth-child(1){
        padding: 0 2%;
        line-height: 28px;
        font-size: 16px;
        background-color: #000;
        a {
            color: #fff;
        }
      }
      &:nth-child(2){
        background-color: #fff;
        padding: 0 2%;
        border-bottom: 3px solid #ccc;
        &>div {
            border: none;
            ul {
                li {
                  margin-top: 32px;
                  margin-right: 6%;
                  &:nth-child(1){
                    h6 {
                      color: #000000;
                    }
                  }
                  a{
                    i {
                      transition: all 0.5s;
                    }
                    h6 {
                      font-weight: bold;
                      color: #f66f6a;
                    }
                    &:hover {
                      color: #000;
                      i {
                        margin-left: 20px;
                      }
                    }
                  }
                }
            }
        }
          
      }
    }
      
      
  }
  //中间部分
  .header-middle {
    padding: 0;
    height: 58px;
      background-color: #fff;
      position: relative;
      z-index: 999;
      .navbar{
        padding: 10px 2%;
      }
      .navbar-toggler{
        width: 32px;
        height: 32px;
        line-height: 32px;
        text-align: center;
        border: none;
        outline: none;
        span{
          display: block;
          width: 24px;
          height: 2px;
          background: rgb(60,60,60);
          margin: 5px 0;
          transition: all 0.5s linear;
        }
        &.on{
          span:nth-child(1){
            transform: rotate(45deg) translate(5px, 5px);
          }
          span:nth-child(2){
            transform: scale(0);
          }
          span:nth-child(3){
            transform: rotate(-45deg) translate(5px, -5px);
          }
        }
      }
      .navbar-brand {
        display: inline-block;
        width: 40px;
        height: 40px;
        background: url('./../images/v3-icon.svg') no-repeat;
        background-position: -208px -19px;
        @media screen and(min-width: 1199px){
          width: 153px;
          height: 34px;
          background-position: -29px -26px;
        }
        @media screen and(max-width: 991px){
          width: 153px;
          height: 34px;
          background-position: -29px -26px;
        }
      }
      .navbar-nav {
        margin-left: 50px;
        .nav-item {
          // .dropdown-menu {
          //   position: absolute;
          //   width: 100%;
          // }
          .nav-link {
            font-size: 12px;
            margin-right: 15px;
            @media screen and(min-width: 991px){
              font-size: 14px;
              margin-right: 20px;
            }
            @media screen and(min-width: 1199px){
              font-size: 16px;
              margin-right: 30px;
            }
            &::after {
              content: "";
              width: 7px;
              height: 6px;
              display: inline-block;
              background: url('./../images/v3-icon.svg') no-repeat;
              background-position: -21px -96px;
              position: relative;
              top: 6px;
              @media screen and(min-width: 991px){
                top: 9px;
              }
              @media screen and(min-width: 1199px){
                top: -3px;
              }
            }
          }
          .dropdown-menu{
            width: 100%;
            padding: 100px 10%;
            background: #f9f9f9;
            .dropdown-body{
              .body-left{
                flex-wrap: wrap;
                li{
                  width: 120px;
                  text-align: center;
                  margin-right: 20px;
                  @media screen and (min-width: 1199px){
                    width: 150px;
                  }
                  @media screen and (max-width: 991px){
                    width: 50%;
                    margin-right: 0;
                  }
                  a{
                    color: #222 !important;
                  }
                  img{
                    width: 100%;
                    margin-bottom: 30px;
                  }
                  &:last-of-type{
                    width: 100%;
                    padding: 10px;
                    text-align: center;
                    border: 1px solid #000;
                    border-radius: 5px;
                    margin-top: 50px;
                  }
                }
              }
              .body-right{
                flex: 1;
                h4{
                  margin: 40px 0px 20px 60px;
                }
                a{
                  margin-left: 60px;
                  color: #6f6f6f;
                }
              }
            }
          }
        }
        .login-item{
          margin-left: 5%;
          margin-right: 5%;
          padding-bottom: 10px;
          border-bottom: 1px solid #ccc;
          span{
            color: #ccc;
            position: relative;
            left: 50%;
            transform: translateX(-50%);
          }
        }
        .search-item{
          border-bottom: 1px solid #000;
        }
      }
      .navbar-shop{
        width: 32px;
        height: 32px;
        line-height: 32px;
        text-align: center;
        border: 1px solid #000;
        border-radius: 5px;
      }
      .navbar-other{
        &>div{
          margin-left: 10px;
          a{
            font-size: 12px;
            @media screen and(min-width: 991px){
              font-size: 14px;
            }
            @media screen and(min-width: 1199px){
              font-size: 16px;
            }
          }
        }
        &>span{
          margin-left: 10px;
        }
      .login{
        position: relative;
        .login-box{
          position: absolute;
          //z-index: 999;
          left: 50%;
          transform: translateX(-50%);
          top: 40px;
          background: #fff;
          border: 1px solid #ccc;
          border-radius: 10px;
          display: none;
          span{
            width: 20px;
            height: 20px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: -20px;
            i{
              border-width: 10px;
              border-style: solid dashed dashed;
              border-color: transparent transparent #e2e2e2;
              position: absolute;
              left: 0;
              top: 0;
            }
            b{
              border-width: 10px;
              border-style: solid dashed dashed;
              border-color: transparent transparent #fff;
              position: absolute;
              left: 0;
              top: 1px;
            }
          }
          p{
            width: 170px;
            line-height: 30px;
            text-align: center;
            margin: 0;
            padding: 5px;
          }
        }
        &.on{
          .login-box{
            display: block;
          }
        }
      }
    }
  }
  //底部
  .header-bottom{
    height: 64px;
    background: #f5f3f3;
    position: relative;
    padding: 0 2%;
    .second-title{
      line-height: 64px;
      font-weight: bold;
      color: #000 !important;
      font-size: 16px;
      @media screen and(min-width: 1200px){
        font-size: 20px;
      }
    }
    .arrow{
      display: inline-block;
      width: 21px;
      height: 11px;
      background: url("./../images/v3-icon.svg") no-repeat;
      background-position: -347px -488px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    ul{
      li{
        line-height: 64px;
        margin-left: 20px;
        a{
          color: #000;
          font-size: 14px;
        }
      }
    }
  }
  //模态
}
/*第一屏*/
.section1{
  background: #fff;
  //opacity: 0.5;
}
/*第二屏*/
.section2{
  position: relative;
  z-index: 666;
  background: #fff;
  &>div{
    width: 70%;
    margin: 0 auto;
  }
  .section2-top{
    padding: 100px 0;
    div:nth-of-type(1){
      p{
        position: relative;
        top: 200px;
        opacity: 0;
        font-size: 2.3vw;
        font-weight: bold;
        line-height: 45px;
        color: #222;
        white-space: nowrap;
        &:nth-of-type(1){
          top: 50px;
          font-size: 1.3vw;
          line-height: 25px;
          color: #8c8c8c;
        }
      }
    }
    div:nth-of-type(2){
      position: relative;
      top: 200px;
      opacity: 0;
      font-size: 1.3vw;
      line-height: 30px;
      color: #222;
      margin-left: 200px;
      padding-top: 50px;
    }
  }
  .section2-middle{
    position: relative;
    img{
      &:nth-of-type(1){
        width: 20%;
        transform: translateX(0%);
      }
      &:nth-of-type(2){
        width: 20%;
        transform: translateX(0%);
      }
      &:nth-of-type(3){
        width: 80%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
      }
      &:nth-of-type(4){
        width: 60%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
      }
    }
  }
  .section2-bottom{
    width: 70%;
    margin: 0 auto;
    padding: 100px 0;
    .swiper-container{
      width: 100%;
      height: 34vw; // 34%
      border-radius: 35px;
      overflow: hidden;
      .swiper-slide{
        position: relative;
        img{
          position: absolute;
        }
        &:nth-child(1){
          background: #ffdbc6;
          img:nth-child(1){
            width: 36%;
            left: 15%;
            bottom: -40%;
            z-index: 1;
          }
          img:nth-child(2){
            width: 36%;
            left: 30%;
            bottom: -60%;
          }
        }
        &:nth-child(2){
          background: #ace3e5;
          img:nth-child(1){
            width: 48%;
            left: 40%;
            bottom: 40%;
          }
          img:nth-child(2){
            width: 48%;
            left: 25%;
            top: 40%;
          }
        }
        &:nth-child(3){
          background: #e0daf5;
          img:nth-child(1){
            width: 34%;
            left: 30%;
            bottom: -40%;
          }
          img:nth-child(2){
            width: 38%;
            left: 41%;
            bottom: -30%;
          }
        }
        &:nth-child(4){
          background: #dbdbdb;
          img:nth-child(1){
            width: 25%;
            left: 27%;
            bottom: -30%;
          }
          img:nth-child(2){
            width: 25%;
            left: 45%;
            bottom: -30%;
          }
        }
      }
      .swiper-pagination{
        position: absolute;
        width: auto;
        left: auto;
        bottom: 10%;
        right: 10%;
        .my-bullet{
          display: inline-block;
          width: 1.3vw;
          height: 1.3vw;
          border-radius: 50%;
          background: #000;
          margin: 0 5px;
          &:nth-child(1){
            color: #ff6b29;
            background: #ff6b29;
          }
          &:nth-child(2){
            color: #16c196;
            background: #16c196;
          }
          &:nth-child(3){
            color: #9676ff;
            background: #9676ff;
          }
          &:nth-child(4){
            color: #434040;
            background: #434040;
          }
        }
        .my-bullet-active{
          border: 3px solid #fff;
          box-sizing: border-box;
          box-shadow: 0 0 10px;
        }
      }
      .swiper-line{
        width: 4vw;
        height: 3px;
        background: #fff;
        position: absolute;
        left: 5%;
        top: 10%;
        z-index: 666;
      }
      .swiper-name, .swiper-num{
        font-size: 40px;
        height: 45px;
        line-height: 45px;
        overflow: hidden;
        color: #fff;
        position: absolute;
        left: 5%;
        top: 15%;
        z-index: 666;
        span{
          display: block;
          position: relative;
          top: 0px;
        }
      }
      .swiper-num{
        left: auto;
        top: 5%;
        right: 5%;
      }
    }
  }
}
@keyframes mySlideInUp {
  0% {
    transform: translateY(20%);
    visibility: visible;
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.mySlideInUp {
  animation-name: mySlideInUp
}
@keyframes mySlideInDown {
  0% {
    transform: translateY(-20%);
    visibility: visible;
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.mySlideInDown {
  animation-name: mySlideInDown
}
.alert{
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  margin: 0;
  z-index: 999;
  button{
    outline: none;
  }
}
.modal{
   .modal-content{
     width: 600px;
     position: relative;
     padding: 20px 100px 50px 100px;
     i{
       display: inline-block;
       width: 15px;
       height: 15px;
       background: url("./../images/support-icon2.svg") -1145px -454px;
       cursor: pointer;
       position: absolute;
       top: 15px;
       right: 15px;
       &:hover{
         background-position: -1176px -454px;
       }
     }
     .modal-header{
       margin-bottom: 20px;
       span{
         text-align: center;
         font-size: 20px;
         width: 169px;
         &:nth-of-type(1){
           color: #be0000;
         }
       }
     }
     .modal-body{
       input[type=text]{
         display: block;
         width: 100%;
         border: none;
         border-bottom: 1px solid #ccc;
         line-height: 48px;
       }
       p{
         width: 100%;
         padding: 20px 0;
         margin: 0;
         a{
           color: #007dff;
           b{
             width: 11px;
             height: 15px;
             background-image: url("./../images/ic_smsLogin.png");
             background-repeat: no-repeat;
             display: inline-block;
             background-position: -2px 0;
             margin-bottom: -3px;
             margin-right: 10px;
           }
         }
         input[type=checkbox]{
           position: relative;
           top: 3px;
         }
       }
       input[type=button]{
         &:hover{
           background: #be0000;
           color: #fff;
         }
       }
     }
     .modal-footer{
       display: block;
       margin-top: 50px;
       p{
         width: 100%;
         position: relative;
         text-align: center;
         color: #ccc;
         span{
           display: inline-block;
           width: 100px;
           height: 1px;
           background: #ccc;
           position: absolute;
           top: 50%;
           transform: translateY(-50%);
           &:nth-of-type(1){
             left: 0;
           }
           &:nth-of-type(2){
             right: 0;
           }
         }
       }
       ul{
         li{
           margin: 0 10px;
           a{
             display: inline-block;
             width: 42px;
             height: 42px;
             background: url("./../images/share.png") no-repeat;
             background-position: -72px -9px;
           }
           &:nth-of-type(2){
             a{
               background-position: -132px -9px;
             }
           }
           &:nth-of-type(3){
             a{
               background-position: -12px -9px;
             }
           }
         }
       }
     }
     input{
       outline: none;
     }
   }
 }